package http.secure.common.test;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class ResourcesMapping implements WebMvcConfigurer {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("/**")
                .addResourceLocations("file:D:/FTMod/workspace/http-secure-common/src/main/resources/static")
                .addResourceLocations("file:D:/FTMod/workspace/http-secure-common/src/main/resources/templates");
    }
}
